<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>

<article>
    <form class="beca_form" action="<?php echo url_for('becas/'.($form->getObject()->isNew() ? 'create' : 'update').(!$form->getObject()->isNew() ? '?id='.$form->getObject()->getId() : '')) ?>" method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>>
    <?php if (!$form->getObject()->isNew()): ?>
<input type="hidden" name="sf_method" value="put" />
<?php endif; ?>
  <table> 
    <tbody>
      <?php echo $form ?>        
    <th colspan="2">Desea adicionar otros campos?<input type='checkbox' name='adicion' value='1' /></th>
    </tbody>
    <tfoot>
      <tr>
        <td></td>
        <td colspan="2"><input type="submit" class="boton" value="Guardar"/></td>
      </tr>
    </tfoot>
    
  </table>
</form>
    </article>
